efi_loader: refactor efi_setup_loaded_image
authorHeinrich Schuchardt <[email protected]>
Thu, 26 Oct 2017 17:25:58 +0000 (19:25 +0200)
committerAlexander Graf <[email protected]>
Fri, 1 Dec 2017 12:22:56 +0000 (13:22 +0100)
commit48b66230eef074c7335eab8c82b1f9c561b54794
tree0463a9e49d33272cd83ad3164106e303d9bdd509
parent9172cd91fa58da48f31259c51536aa8778bd72da
efi_loader: refactor efi_setup_loaded_image

Use helper functions to add protocols.

Signed-off-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
lib/efi_loader/efi_boottime.c